import request from "../request";

//获取地址列表
export const getListAction = data => request({ url: '/address/getListAction', method: 'get', data })


//新增和修改地址 /address/saveAction
export const saveAction = data => request({ url: '/address/saveAction', method: 'post', data })

//获取收获地址详情
export const detailAction = data => request({ url: '/address/detailAction', method: 'get', data })

 //删除收货地址
export const deleteAction = data => request({ url: '/address/deleteAction', method: 'get', data })

  
//获取收藏列表  /collect/listAction
export const listAction = data => request({ url: '/collect/listAction', method: 'get', data })

//意见反馈
export const submitAction = data => request({ url: '/feedback/submitAction', method: 'post', data })
